home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
t3_1
/
xlib.lha
/
xlib
/
xrmvalue.t
< prev
next >
Wrap
Text File
|
1990-06-01
|
517b
|
14 lines
(herald xrmvalue (env tsys (xlib interface)))
(DEFINE (MAKE-XRMVALUE) (CONS 'XRMVALUEPTR (MAKE-BYTEV 8)))
(DEFINE (XRMVALUE-SIZE X) (MREF-INTEGER (CHK-XRMVALUEPTR X) 0))
(DEFINE (XRMVALUE-SIZE! X Y) (SET-MREF-INTEGER! (CHK-XRMVALUEPTR X) 0 Y))
(DEFINE (XRMVALUE-ADDR X)
((LAMBDA (X Y) (CONS 'CHARAP (MREF-POINTER X Y)))
(CHK-XRMVALUEPTR X)
4))
(DEFINE (XRMVALUE-ADDR! X Y)
((LAMBDA (X Y Z) (SET-MREF-POINTER! X Y (CHK-CHARAP Z)))
(CHK-XRMVALUEPTR X)
4
Y))